package com.gjs.cd.pojo.dto;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.gjs.cd.pojo.entity.CdDetail;
import com.gjs.common.enums.entity.StatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;


/**
 * @author zhongwenguang
 * @date 2022-3-16 9:17
 */
@Getter
@Setter
@ApiModel(value = "CdDetailReq,查询",description = "品种（光盘）管理")
public class CdDetailReq {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("光盘名称")
    private String cdName;

    @ApiModelProperty("版本ID(天马)")
    private Long editionId;

    @ApiModelProperty("版本名称(天马)")
    private String editionName;

    @ApiModelProperty("学段ID(天马)")
    private Long periodId;

    @ApiModelProperty("学段名称(天马)")
    private String periodName;

    @ApiModelProperty("学科ID(天马)")
    private Long subjectId;

    @ApiModelProperty("学科名称(天马)")
    private String subjectName;

    @ApiModelProperty("年级ID(天马)")
    private Long stageId;

    @ApiModelProperty("年级名称(天马)")
    private String stageName;

    @ApiModelProperty("状态")
    private StatusEnum status;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("开始时间")
    private LocalDateTime beginTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;
}
